<?php
return array(
    'name' => 'Skypiea',
    'basePath' => dirname(__FILE__).'/../app',
    'defaultController' => 'default',
    
    'import' => array(
        'application.components.*',
        'application.models.*',
        'application.controller.*'
        ),
        
    'components' => array(
        
        'mongodb' => array(
            'class'=>'CMongoDB',
            'connectString'=>"mongodb://127.0.0.1:27017",
            'dbname' => 'images',
            ),
        
        'urlManager'=>array(
			'urlFormat'      => 'path',
			'showScriptName' => false,
			'caseSensitive'  => false,
			'rules'=>array(
				'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
			),
		),
        ),
    );